<?php
//get connection
	require_once('../Build/engine/call.php');
//get classes
	require_once('../Build/engine/class.php');
//Create Elements
	$create->textfield('textfield','username',1,'class = "textfield"','Username For Login','5#30','Username','','0','1','');
	$create->textfield('textfield','fname',1,'class = "textfield"','First Name','3#20','AraEng','','0','1','');
	$create->textfield('textfield','lname',1,'class = "textfield"','Last Name','3#20','AraEng','','0','1','');
	$create->textfield('textfield','address',1,'class = "textfield"','Your address','3#30','Address','','1','1','');
	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Testing</title>
<script type="text/javascript" src="../Build/JS Code/javascript.js"></script>
<?php require_once('../Build/engine/javascript.php'); ?>
<style media="all" type="text/css">
.error{
	font-size:11px;
	color:#FF0000;
}
.textfield{
	width:200px;
}
body{
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	color:#333333;
	background:#CCCCCC;
}
</style>
</head>
<body>
<form action="" method="post" enctype="application/x-www-form-urlencoded" id="postData" name="postData" onsubmit="return valid();">
  <table width="500" border="0" align="center" cellpadding="3" cellspacing="3">
  	<?php if(is_array($create->elements)){foreach($create->elements as $key=>$val){ ?>
    <tr>
      <td valign="top"><?php $create->render($key,'label'); ?></td>
      <td valign="top"><?php $create->render($key,'input'); ?></td>
    </tr>
    <?php }} ?>
    <tr>
      <td>&nbsp;</td>
      <td><input name="next" type="submit" value="Next &gt;&gt;&gt;" /></td>
    </tr>
  </table>
</form>
</body>
</html>